package com.ta.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ta.gulimall.common.utils.system.PageUtils;
import com.ta.gulimall.ware.view.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author tuao
 * @email tuaoo@gmail.com
 * @date 2022-10-29 10:38:36
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    /**
     * 采购需求列表查询
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询采购单下的采购需求
     * @param purchaseIds
     * @return
     */
    List<PurchaseDetailEntity> listPurchaseDetail(List<Long> purchaseIds);
}

